using System.Windows.Forms;
using BasecampRestAPI;

namespace BasecampUI
{
	public class CredentialsFormMediator
	{
		private readonly ICredentialsForm _form;

		public static CredentialsFormMediator GetInstance(ICredentialsForm form)
		{
			return new CredentialsFormMediator(form);
		}
		private CredentialsFormMediator(ICredentialsForm form)
		{
			_form = form;
		}

		public void Load()
		{
			_form.UrlText = string.Empty;
			_form.UserNameFocus();
		}
	}
}